#ifndef VSADDITIVEANIMBLEND_H
#define VSADDITIVEANIMBLEND_H
#include "VSOneParamAnimBlend.h"
namespace VSEngine2
{

	class VSGRAPHIC_API VSAdditiveAnimBlend : public VSOneParamAnimBlend
	{
		//RTTI
		DECLARE_RTTI;
		//PRIORITY
		

	public:
		virtual ~VSAdditiveAnimBlend();

		VSAdditiveAnimBlend(const VSUsedName & ShowName,VSAnimTree * pAnimTree);

		virtual void AddInputNode();
		virtual void DeleteInputNode();
	public:


		VSAdditiveAnimBlend();
		virtual bool ComputeOutBoneMatrix(double dAppTime);
	public:
		static bool RegisterMainFactory();

	private:
		static bool InitialClassFactory();	
		static VSObject * FactoryFunc();
		static bool ms_bRegisterMainFactory;

	};
	typedef VSPointer<VSAdditiveAnimBlend> VSAdditiveAnimBlendPtr;
}
#endif